package edu.lingnan.service;

import edu.lingnan.pojo.MyOrder;
import edu.lingnan.pojo.ProductOrder;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 *
 */
public interface ProductOrderService extends IService<ProductOrder> {
    int deleteProductOrderByOrderId(Long id);

    void addProductOrder(MyOrder order,Long productId);

    int selectProductOrderByProductId(Long productId);

    void updateProductOrderNumber(Long productId);

    List<ProductOrder> selectProductOrderByOrderIds(List<Long> orderIdList);
}
